home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / ophelias_diary_2_episode_1.swf / scripts / DefineButton2_2259 / BUTTONCONDACTION on(release).as
Text File  |  2010-07-14  |  710b  |  33 lines

  1. on(release){
  2.    if(eval("/Variables:Vert") == 1)
  3.    {
  4.       if(eval("/Variables:PrescottAction") == 0 and eval("/Variables:Echelle") == 1)
  5.       {
  6.          tellTarget("Prescott2")
  7.          {
  8.             gotoAndStop("TraverseEchelle");
  9.             play();
  10.          }
  11.       }
  12.       else if(eval("/Variables:Echelle") == 0)
  13.       {
  14.          if(eval("/Variables:Parle") == 0)
  15.          {
  16.             tellTarget("/Voix")
  17.             {
  18.                gotoAndStop("HowGetThere");
  19.                play();
  20.             }
  21.          }
  22.       }
  23.    }
  24.    else if(eval("/Variables:Parle") == 0)
  25.    {
  26.       tellTarget("/Voix")
  27.       {
  28.          gotoAndStop("ToDark");
  29.          play();
  30.       }
  31.    }
  32. }
  33.